package com.ruoyi.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 派单间隔设置对象 tb_interval
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbInterval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 派单间隔ID */
    private Long intervalId;

    /** 城市 */
    @Excel(name = "城市")
    private Long cityId;

    /** 服务类型;0：是；1：否 */
    @Excel(name = "服务类型;0：是；1：否")
    private Long serviceId;

    /** 用车时间前间隔 */
    @Excel(name = "用车时间前间隔")
    private String intervalFront;

    /** 用车时间后间隔 */
    @Excel(name = "用车时间后间隔")
    private String intervalBack;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setIntervalId(Long intervalId) 
    {
        this.intervalId = intervalId;
    }

    public Long getIntervalId() 
    {
        return intervalId;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }

    public void setIntervalFront(String intervalFront) 
    {
        this.intervalFront = intervalFront;
    }

    public String getIntervalFront() 
    {
        return intervalFront;
    }

    public void setIntervalBack(String intervalBack) 
    {
        this.intervalBack = intervalBack;
    }

    public String getIntervalBack() 
    {
        return intervalBack;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("intervalId", getIntervalId())
            .append("cityId", getCityId())
            .append("serviceId", getServiceId())
            .append("intervalFront", getIntervalFront())
            .append("intervalBack", getIntervalBack())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .toString();
    }
}
